package aircraft_war;

import java.awt.image.BufferedImage;

public abstract class BasicClass {
    protected int blood;
    protected int y;
    protected int x;
    protected int width;
    protected int height;
    protected BufferedImage img;


    public  BasicClass(){

    }
/*    private int blood;
    public BasicClass(BufferedImage img,int y,int x){

        this.img=img;
        this.x=x;
        this.y=y;

    }*/

    public int getBlood() {
        return blood;
    }

    public void setBlood(int blood) {
        this.blood = blood;
    }

    public int getX() {
        return x;
    }

    public void setX(int x) {
        this.x = x;
    }

    public int getY() {
        return y;
    }

    public void setY(int y) {
        this.y = y;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public BufferedImage getImg() {
        return img;
    }

    public void setImg(BufferedImage img) {
        this.img = img;
    }

    protected abstract void move();


}
